<template>
  <div>
    <swiper>
      <swiperitem v-for="(item, index) in topimg" :key="index">
        <img :src="item" alt="" />
      </swiperitem>
    </swiper>
  </div>
</template>
<script>
import swiper from "@/components/common/swiper/Swiper";
import swiperitem from "@/components/common/swiper/SwiperItem";
export default {
  components: {
    swiper,
    swiperitem,
  },
  props: {
    topimg: [],
  },
};
</script>
<style scoped>
img {
  height: 300px;
}
</style>